package org.itstack.demo.design.factory;

import java.util.concurrent.TimeUnit;

/**
 * @Author: fanYuLe
 * @CreateTime: 2023-12-13  13:55
 * @Description:
 */
public interface ICacheAdapter {
    String get (String key);

    void set (String key, String value);

    void set (String key, String value, long timeout, TimeUnit timeUnit);

    void del (String key);
}
